package com.example.pucha_xian.common;


import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Environment;

import java.io.File;

public class PhotoConfig {
    public static final int REQUEST_QJZP = 10;
    public static final int REQUEST_PMZP = 11;
    public static final int REQUEST_BZZP = 12;
    public static final int REQ_QJZP = 20;
    public static final int REQ_PMZP = 21;
    public static final int REQ_BZZP = 22;
    public static File sdCard = Environment.getExternalStorageDirectory();
    public static String PHOTO_PATH  = "/pucha/photo/";

    public static Bitmap showPhoto(String photoName){
        String wholePath = sdCard + PHOTO_PATH + photoName;
        return BitmapFactory.decodeFile(wholePath);
    }
}
